import { RouteLocationNormalized } from "vue-router";

export const setBrowserTitle = (to: RouteLocationNormalized) => {
  document.title = (to.meta.title as string) || "Vue 项目模板";
};
